package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:安全问题条件实体类
 * @date:2020/2/181415
 */
@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
public class QuestionRecoverBo implements Serializable {
    private static final long serialVersionUID = -3999083614274706598L;
    @ApiModelProperty(value = "登录token")
    private String token;
    @ApiModelProperty(value = "历史安全问题")
    private String oldQuestion;
    @ApiModelProperty(value = "历史安全问题答案")
    private String oldAnswer;
    @ApiModelProperty(value = "新的安全问题")
    private String newQuestion;
    @ApiModelProperty(value = "新的安全问题答案")
    private String newAnswer;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
